/* 用户相关请求模块 */
import request from '../utils/request'

// 高龄津贴申请-提交申请
export const submit_gljt = data => {
  return request({
    method: 'POST',
    url: '/api/elderApply/insertAllowanceApply',
    data
  })
};
// 高龄津贴申请-获取申请记录
export const sqjlList_GLJT = data => {
  return request({
    method: 'POST',
    url: '/api/elderApply/selectAllowanceApplyList',
    data
  })
};

// 高龄津贴申请-获取审批记录
export const getRecordList = data => {
  return request({
    method: 'GET',
    url: '/api/subsidyPersonnel/processHis',
    params:data
  })
};

// 高龄津贴申请-获取审批流程
export const getProcessList = data => {
  return request({
    method: 'POST',
    url: '/api/elderApply/getNodesByProcessInstanceIdElder',
    data
  })
};

// 高龄津贴申请-获取我的申请信息
export const getUserApplyInfos = data => {
  return request({
    method: 'POST',
    url: '/api/elderApply/selectAllowanceApplyOne',
    data
  })
};

// 高龄津贴申请-获取用户信息app
export const getUserInfosForApp = data => {
  return request({
    method: 'GET',
    url: '/api/common/gotoGLJT',
    params:data
  })
};

// 高龄津贴申请-获取用户信息wx
export const getUserInfosForWX = data => {
  return request({
    method: 'GET',
    url: '/api/common/gotoGLJTWeiXin',
    params:data
  })
};


